[UNIX] Is it safe to pipe the output of several parallel processes to one file using >> ?

Posted by conradlee on Stack Overflow See other posts from Stack Overflow or by conradlee
Published on 2010-03-14T21:05:56Z Indexed on 2010/03/14 21:15 UTC
Read the original article Hit count: 225

Filed under:
|
|
|

I'm scraping data from the web, and I have several processes of my scraper running in parallel.

I want the output of each of these processes to end up in the same file. As long as lines of text remain intact, I the order of the lines does not matter. In UNIX, can I just pipe the output of each process to the same file using the >> operator?

© Stack Overflow or respective owner

Related posts about unix

Related posts about pipe